/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package thinkinginjava.svn.generics;

/**
 *
 * @author public_enemy
 */
public class GenericHandler<T> {

    private T a;

    public GenericHandler(T a) {
        this.a = a;
    }

    public void set(T a) {
        this.a = a;
    }

    public T get() {
        return a;
    }

    public static void main(String[] args) {
        GenericHandler<String> gen1 = new GenericHandler<String>("Tester");
        System.out.println(gen1.get());

    }
}
